/*
 * Copyright (C) 2018 FarmFriend Co., Ltd. All rights reserved.
 */
'use strict';

/**
 * ！！注意！！
 * 发布之前，必须且只需设置 ENV 即可
 */
const ENV = 'dev'; // dev, pro

/**
 * Absolute path of pages.
 *  程序 配置项
 */
const OSSAccessKeyId = '';



const BASE_URL = ENV == 'dev' ?
    'https://wx.carsoo.ca/app/api/?' :
    'https://wx.carsoo.ca/app/api/?';
//用户信息
const UPLOAD_URL = 'https://wx.carsoo.ca/upload/ajaxuploadfile.php';
const UPLOAD_VIDEO_URL = 'https://wx.carsoo.ca/upload/ajaxuploadvideo.php';
const UPLOAD_AUDIO_URL = 'https://wx.carsoo.ca/upload/ajaxuploadaudio.php';
const OSSCONFIGURL = '';


const GET_TOKEN_URL = 'c=user&a=codeLogin';
const USER_INFO_URL = 'c=user&a=getuser';
const USER_SET_URL = 'c=user&a=setuser';
//系统
const MOBILE_SEND_URL = 'c=sys&a=mobilesend';
const MOBILE_CHECK_URL = 'c=sys&a=mobilecheck';
const SAVEIMG_STATS_URL = 'c=sys&a=saveimg';
const SHARE_STATS_URL = 'c=sys&a=share';



module.exports = {
    BASE_URL,
    UPLOAD_URL,
    GET_TOKEN_URL,
    USER_INFO_URL,
    USER_SET_URL,

    MOBILE_SEND_URL,
    MOBILE_CHECK_URL,
    SAVEIMG_STATS_URL,
    SHARE_STATS_URL,

    UPLOAD_VIDEO_URL,
    UPLOAD_AUDIO_URL,
    OSSAccessKeyId,
    OSSCONFIGURL

};